<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$_base_url}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{include file="`$_path``$_language`/`$_subdir``$_page`/`$_page`_`$_language`_title.tpl"}</title>
<script type="text/javascript" src="/js/iko_init.js" ></script>
<script type="text/javascript" src="/js/modules/admin_panel/ie_fix.js" ></script>
<script type="text/javascript" src="/js/modules/extlib_js_prototype/prototype.js" ></script>
<script type="text/javascript">
_tm = '{$_tm}';
</script>
<link rel="stylesheet" type="text/css" href="/css/modules/admin_panel/admin_panel.css" />
<link rel="stylesheet" type="text/css" href="/css/modules/admin_panel/vmenu.css" />
</head>
<body onload="session_keep_alive_init({$_session_lifetime});">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="full_height">
  <tr>
    <td valign="top">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="full_height">
          <tr>
            <td valign="top" height="96">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#eeeeee">
                  <tr>
                    <td width="225"><a href="/admin/"><img src="/img/modules/admin_panel/logo.png" border="0" alt="Logo" width="225" height="96" /></a></td>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td>&nbsp;&nbsp;{if $_username}Влезли сте като: {$_username} | 
								{if $require_ssl_login}
								<a href="https://{$_current_host}/admin/login.php?logout=1">Изход</a>
								{else}
								<a href="admin/login.php?logout=1">Изход</a>
								{/if}
							{/if}
							
							</td>
                            <td align="right">
								&nbsp;{if $_debug_print && $_site_mode == 0}<span onclick="debug_popup('{$_debug_print}');">debug</span>{/if}                            
                            </td>
                          </tr>
                        </table>
                    </td>
                  </tr>
                </table>
            </td>
          </tr>
          <tr>
          	<td valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="full_height">
                  <tr>
                    <td width="225" valign="top">{$menu}</td>
                    <td valign="top">
                    	<div class="content">
                            <h1>{include file="`$_path``$_language`/`$_subdir``$_page`/`$_page`_`$_language`_title.tpl"}</h1>
                            {include file="`$_path``$_language`/`$_subdir``$_page`/`$_page`_`$_language`_`$_view`.tpl"}
                        </div>
                    </td>
                  </tr>
                </table>
            </td>
          </tr>
        </table>
    </td>
  </tr>
</table>
</body>
</html>
